package com.dtborad.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("email")
public class Email {

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @TableField("email")
    private String email;

    @TableField("code")
    private String code;

    @TableField("created_at")
    private Date created_at;

    @TableField("count")
    private int count;
    /**
     * @北城 序列化ID
     */
    private static final long serialVersionUID = 1L;
}
